package com.youlai.boot.system.model.entity;

import lombok.*;

import java.time.LocalDateTime;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.youlai.boot.common.base.BaseEntity;

/**
 * 处理记录实体对象
 *
 * @author youlaitech
 * @since 2025-02-28 16:53
 */
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("gb_process_record")
public class ProcessRecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 关联主表
     */
    private Long requestId;
    /**
     * 处理状态
     */
    private Integer processStatus;
    /**
     * 操作员id
     */
    private Long operationId;
    /**
     * 开始处理时间
     */
    private LocalDateTime startTime;
    /**
     * 结束处理时间
     */
    private LocalDateTime endTime;
    /**
     * 输入物
     */
    private String inputObj;
    private BigDecimal inputWeight;
    /**
     * 输出物
     */
    private String outputObj;
    private BigDecimal outputWeight;
    /**
     * 备注
     */
    private String remark;
    private Long createBy;
    private Long updateBy;
    private Integer isDeleted;
}
